home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: SOM & Streams
- Sent: 7/1/96 10:28 AM
- Received: 7/1/96 10:32 AM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 6:32 AM 7/1/96, Scott Daniels wrote:
- >Mark,
- >
- >Thanks for the info, I have enough to go on now. However, I am still
- >puzzled as to why the wrapper class is needed, and why there can be only
- >one? How does this work & why?
-
- The wrapper class is not needed; you can create a SOM object and call it
- directly if you wish.
-
- There can be only one precisely because FW_OSink is *not* reference
- counted. Someone needs to own it; if you create it directly then you own it
- and are responsible for destroying it. If you create a FW_PRandomAccessSink
- subclass, then that object owns it. Why would you want to have multiple
- wrapper objects?
-
- markl
-
- --
- Mark Lanett, OpenDoc Framework, Apple Computer
-
-